﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPS.SDK.exception
{
    public class YunXmlException:YunResultException
    {
        public YunXmlException(String result, String xmlstring, int code)
            :  base(result, xmlstring, code, null)
        {
          
        }

        public override bool needRetry()
        {
            String result = getResult();
            return (result == null) || (result.Length== 0);
        }
    }
}
